home *** CD-ROM | disk | FTP | other *** search
/ PC World Interactive 7 / PC World Interactive 7.iso / program / ctutor.exe / SOURCE / CPPCOMS.C < prev    next >
Text File  |  1994-05-15  |  453b  |  12 lines

  1.        // This is a comment ignored by the compiler 
  2.  
  3. main() // This is another comment ignored by the compiler
  4. {
  5.    printf("We are looking at how comments are "); // A C++ comment
  6.                                                   // cannot be
  7.                                                   // continued on
  8.                                                   // another line 
  9.    printf("used in C.\n");
  10. }
  11.      // One more comment for effect
  12.